package com.school.service;


import com.school.entity.CertificateHonor;
import org.springframework.data.domain.Page;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface CertificateHonorService {
    // 新增
    CertificateHonor addCertificateHonor(List<MultipartFile> fileList, CertificateHonor certificateHonor) throws IOException;
    // 更新
    CertificateHonor updateCertificateHonor(CertificateHonor certificateHonor);
    // 根据ID查看详情
    CertificateHonor getDetailsById(String id);
    // 根据ID删除
    void deleteCertificateHonor(String id);
    // 根据ID批量删除
    void deleteCertificateHonorList(String idList);
    // 分页查询
    Page<CertificateHonor> specificPageQueryCertificateHonorList(CertificateHonor certificateHonor, int page, int size);

}
